using System;
using System.Collections.Generic;
using System.Text;
using Pixysoft.Framework.Noebe.Orm;

namespace Pixysoft.Framework.Security.Entity
{
    public interface Group
    {
        [OrmPrimaryKey]
        string GroupName { get;set;}
        string Description { get;set;}
        int LayerIndex { get;set;}
        bool IsInnerGroup { get;set;}
        Group Parent { get;set;}
        List<Group> Children { get;set;}
        List<Role> RoleList { get;set;}

        void AddToRoleList(params Role[] values);
        void RemoveFromRoleList(params Role[] values);
        Role SelectRoleList(object upk);


    }
}
